package fr.cie.blog.beans;

import java.util.ArrayList;
import java.util.List;

/**
 * Avatar in identity Cards.
 * 
 * @author Jee3
 * 
 */
public class Avatar extends AbstractModel {

	/**
	 * path is the absolute path of Avatar.
	 */
	private String path;
	/**
	 * cardList.
	 */
	private List<Card> cardList = new ArrayList<Card>();

	/**
	 * @return the cardList
	 */
	public final List<Card> getCardList() {
		return cardList;
	}

	/**
	 * @return the path
	 */
	public final String getPath() {
		return path;
	}

	/**
	 * @param pCardList
	 *            the cardList to set
	 */
	public final void setCardList(final List<Card> pCardList) {
		cardList = pCardList;
	}

	/**
	 * @param pPath
	 *            the path to set
	 */
	public final void setPath(final String pPath) {
		path = pPath;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public final String toString() {
		return "Avatar [path=" + path + "]";
	}

}